<?php

namespace app\modules\api\controllers;

use app\components\API;
use app\models\Jobs;
use \yii\web\Controller;
use Yii;

class HomeController extends Controller
{

    public $layout = 'main_m';
    public $enableCsrfValidation = false;


    public function actionJob_list()
    {
        $json=Jobs::Job_list();
       /// print_r($json);exit;
         API::echo_json(0,$json);
       // exit('essssssssss');
    }

    public function actionIndex()
    {
        exit('a');
    }





    public $title = '测试系统';
    public $description = '测试系统';

}
